// +FHDR------------------------------------------------------------
//                 Copyright (c) 2022 .
//                       ALL RIGHTS RESERVED
// -----------------------------------------------------------------
// Filename      : cpu_sequence.sv
// Author        : 
// Created On    : 2022-08-25 15:51
// Last Modified : 
// -----------------------------------------------------------------
// Description:
//
//
// -FHDR------------------------------------------------------------

`ifndef __CPU_SEQUENCE_SV__
`define __CPU_SEQUENCE_SV__

class cpu_sequence extends uvm_sequence #(cpu_transaction);
	cpu_transaction cpu_tr;
	
	extern function new(string name = "cpu_sequence");
	extern virtual task body();
	
	`uvm_object_utils(cpu_sequence)
endclass: cpu_sequence

function cpu_sequence::new(string name = "cpu_sequence");
	super.new(name);
endfunction: new

task cpu_sequence::body();
	repeat(10) begin
		`uvm_do(cpu_tr)
	end
	#100;
endtask: body

`endif
